[INFO] fetching crate precis-core 0.1.11...
[INFO] fixing precis-core-0.1.11 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate precis-core 0.1.11 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate precis-core 0.1.11
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate precis-core 0.1.11
[INFO] tweaked toml for crates.io crate precis-core 0.1.11 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate precis-core 0.1.11 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate precis-core 0.1.11 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6
[INFO] running `Command { std: "docker" "start" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking ucd-parse v0.1.10
[INFO] [stderr]     Checking precis-tools v0.1.9
[INFO] [stderr]    Compiling precis-core v0.1.11 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/derivedproperty.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.40s
[INFO] [stderr] crater-edition-check: precis-core v0.1.11 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling precis-core v0.1.11 (/opt/rustwide/workdir)
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:739:59
[INFO] [stdout]     |
[INFO] [stdout] 739 |         assert_eq!(val.unwrap() as usize, rule_middle_dot as usize);
[INFO] [stdout]     |                                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 739 |         assert_eq!(val.unwrap() as usize, rule_middle_dot as *const () as usize);
[INFO] [stdout]     |                                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:743:69
[INFO] [stdout]     |
[INFO] [stdout] 743 |         assert_eq!(val.unwrap() as usize, rule_zero_width_nonjoiner as usize);
[INFO] [stdout]     |                                                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 743 |         assert_eq!(val.unwrap() as usize, rule_zero_width_nonjoiner as *const () as usize);
[INFO] [stdout]     |                                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:749:50
[INFO] [stdout]     |
[INFO] [stdout] 749 |             rule_greek_lower_numeral_sign_keraia as usize
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 749 |             rule_greek_lower_numeral_sign_keraia as *const () as usize
[INFO] [stdout]     |                                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:754:67
[INFO] [stdout]     |
[INFO] [stdout] 754 |         assert_eq!(val.unwrap() as usize, rule_hebrew_punctuation as usize);
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 754 |         assert_eq!(val.unwrap() as usize, rule_hebrew_punctuation as *const () as usize);
[INFO] [stdout]     |                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:758:67
[INFO] [stdout]     |
[INFO] [stdout] 758 |         assert_eq!(val.unwrap() as usize, rule_hebrew_punctuation as usize);
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 758 |         assert_eq!(val.unwrap() as usize, rule_hebrew_punctuation as *const () as usize);
[INFO] [stdout]     |                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:762:68
[INFO] [stdout]     |
[INFO] [stdout] 762 |         assert_eq!(val.unwrap() as usize, rule_katakana_middle_dot as usize);
[INFO] [stdout]     |                                                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 762 |         assert_eq!(val.unwrap() as usize, rule_katakana_middle_dot as *const () as usize);
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:766:68
[INFO] [stdout]     |
[INFO] [stdout] 766 |         assert_eq!(val.unwrap() as usize, rule_arabic_indic_digits as usize);
[INFO] [stdout]     |                                                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 766 |         assert_eq!(val.unwrap() as usize, rule_arabic_indic_digits as *const () as usize);
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:770:68
[INFO] [stdout]     |
[INFO] [stdout] 770 |         assert_eq!(val.unwrap() as usize, rule_arabic_indic_digits as usize);
[INFO] [stdout]     |                                                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 770 |         assert_eq!(val.unwrap() as usize, rule_arabic_indic_digits as *const () as usize);
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:782:47
[INFO] [stdout]     |
[INFO] [stdout] 782 |             rule_extended_arabic_indic_digits as usize
[INFO] [stdout]     |                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 782 |             rule_extended_arabic_indic_digits as *const () as usize
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/context.rs:789:47
[INFO] [stdout]     |
[INFO] [stdout] 789 |             rule_extended_arabic_indic_digits as usize
[INFO] [stdout]     |                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 789 |             rule_extended_arabic_indic_digits as *const () as usize
[INFO] [stdout]     |                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.38s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking precis-core v0.1.11 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/precis-core-0c9a56b7cbc9e4c2/out/public.rs (26 fixes)
[INFO] [stderr]    Migrating tests/derivedproperty.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.13s
[INFO] [stderr] crater-edition-check: precis-core v0.1.11 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling precis-core v0.1.11 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> build.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut gen = RustCodeGen::new(Path::new(&out).join("context_tables.rs")).unwrap();
[INFO] [stdout]    |             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut r#gen = RustCodeGen::new(Path::new(&out).join("context_tables.rs")).unwrap();
[INFO] [stdout]    |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> build.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     gen.add(Box::new(ucd_gen));
[INFO] [stdout]    |     ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> build.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut gen = RustCodeGen::new(Path::new(&out).join("precis_tables.rs")).unwrap();
[INFO] [stdout]    |             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut r#gen = RustCodeGen::new(Path::new(&out).join("precis_tables.rs")).unwrap();
[INFO] [stdout]    |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> build.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     gen.add(Box::new(ExceptionsGen::new()));
[INFO] [stdout]    |     ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]    --> build.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut gen = RustCodeGen::new(Path::new(&out).join("public.rs")).unwrap();
[INFO] [stdout]     |             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut r#gen = RustCodeGen::new(Path::new(&out).join("public.rs")).unwrap();
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]    --> build.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 132 |     gen.add(Box::new(CodepointsGen::new()));
[INFO] [stdout]     |     ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ascii7Gen`, `BackwardCompatibleGen`, `CodepointsGen`, `DerivedPropertyValueGen`, `ExceptionsGen`, `UnassignedTableGen`, and `UnicodeVersionGen`
[INFO] [stdout]  --> build.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Ascii7Gen, BackwardCompatibleGen, CodepointsGen, DerivedJoiningType, DerivedPropertyValueGen,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                      ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     ExceptionsGen, GeneralCategoryGen, HangulSyllableType, RustCodeGen, UcdFileGen, UcdTableGen,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 5 |     UnassignedTableGen, UnicodeGen, UnicodeVersionGen, ViramaTableGen,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `precis-core` (build script) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6", kill_on_drop: false }`
[INFO] [stdout] b68d96786459dc95074d71c253062d612d32d80605434ff566e011d7577f07e6
